<script lang="ts" setup>
// export default defineComponent({
//   name: 'ProgressNode',
//   inject: ['getNode'],
//   data() {
//     return {
//       percentage: 80,
//     }
//   },
//   mounted() {
//     const node = (this as any).getNode()
//     console.log(node)
//   },
// })
const handle = () => {
  const node = (this as any).getNode()
  console.log(node)
}
</script>
<template>
  <div class="w-full h-full default-node" @click="handle">888</div>
</template>
<style>
.default-node {
  border: 1px solid #d0d0d0;
  text-align: center;
}
</style>